﻿{include file="header.tpl"}

<form name="blogentriesEditForm" id="blogentriesEditForm" action="" method="post">

<input type="hidden" name="action" id="action" value="{$formAction}" />
<input type="hidden" name="operation" id="operation" value="edit" />
<input type="hidden" name="id" id="id" value="{$id}" />

<div class="left-column clear">
	<p>Título</p>
	<input type="text" name="title" id="title" class="textfield" value="{if isset($title)}{$title}{/if}" />
	<p>Visible</p>
	<input type="checkbox" name="visible" id="visible"{if isset($visible) and $visible eq 1} checked="checked"{/if} />
</div>

<div class="right-column">
	<p>Fecha de creación</p>
	<input type="text" name="created" id="created" class="textfield readonly" readonly="readonly" value="{if isset($created)}{$created}{/if}" />
	<p>Autor</p>
	<input type="text" name="createdBy" id="createdBy" class="textfield readonly" readonly="readonly" value="{if isset($createdBy)}{$createdBy}{/if}" />
</div>

<div class="tinymce-column clear">
	<p>Introducción</p>
	<textarea id="introduction" name="introduction" class="tinymce" style="width: 100%">{if isset($introduction)}{$introduction}{/if}</textarea>
</div>

<div class="tinymce-column clear">
	<p>Descripción</p>
	<textarea id="description" name="description" class="tinymce" style="width: 100%; height: 240px">{if isset($description)}{$description}{/if}</textarea>
</div>

<div class="right-column clear align-right">
	<input type="button" id="saveButton" name="saveButton" value="Guardar" class="submitbutton" />
</div>

</form>

{include file="footer.tpl"}
